#pragma once
#include "cocos2d.h"
using namespace cocos2d;
enum NOTE_TYPE {wall,blank,head,body,foods,badhead,badbody,stick,traps,stones};

class note
{
private:
	int pos_x;
	int pos_y;
	NOTE_TYPE notetype;
	CCSprite *cs;
public:
	note(void);
	~note(void);

	CCSprite* getSprite();
	void setnote(int posx,int posy,NOTE_TYPE ty);
	void settype(NOTE_TYPE ty);
	NOTE_TYPE gettype();

	int getx();
	int gety();
};